<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>圆角边框与阴影</title>
    <style>
        /*正方形变圆形*/
        .square {
            width: 200px;
            height: 200px;
            background-color: pink;
            border-radius: 50%;
        }
        /*长方形变圆形*/
        .rectangle {
            width: 400px;
            height: 40px;
            background-color: purple;
            border-radius: 20px;
        }
        .shadow {
            width: 300px;
            height: 300px;
            background-color: #E06666;
            /*box-shadow: 水平阴影 垂直阴影 模糊距离（虚实）阴影尺寸（影子大小）影子颜色 内/外阴影 outset inset outset 不需要书写*/
            box-shadow: 5px 5px 5px rgba(0,0,0,0.3) ;
        }
        .cycle {
            height: 200px;
            width: 200px;
            background-color: green;
            border-radius: 100px;
        }
        .length {
            height: 200px;
            width: 400px;
            background-color: #E06666;
            border-radius: 100px;
        }
        .cold {
            width: 200px;
            height: 200px;
            background-color: navajowhite;
            /*box-shadow: 水平阴影 垂直阴影 模糊距离（虚实）阴影尺寸（影子大小）*/
            box-shadow: 5px 5px rgba(1,1,1,0.3);
    }
</style>
</head>
<body>
<h3>square</h3>
<div class="square">
</div>
<h3>rectangle</h3>
<div class="rectangle">
</div>
<h3>box-shadow</h3>
<div class="shadow"></div>
<h4>圆圈展示</h4>
<div class="cycle"></div>
<h4>长方形两边圆圈圈</h4>
<div class="length">
</div>
<h4>盒子阴影</h4>
<div class="cold">
</div>
</body>
</html>